<ul class="breadcrumb">
    <li class="active"><~$resourceName~> list</li>
    <li><a href="/<~$resourceName~>/create">create</a></li>
</ul>

<table class="table table-striped table-hover">
    <thead>
        <tr>
            <th><~$caption~></th>
            <~foreach from="$listFields" item="col" ~>
     
            <th><~$col~></th>
       
            <~/foreach~>
        </tr>
    </thead>
    <tbody>
        {foreach from="$<~$resourceName~>s" item="<~$resourceName~>"}
        <tr>
            <td>
                <a href="/<~$resourceName~>/show/{$<~$resourceName~>.<~$pk~>}">{$<~$resourceName~>.<~$caption~>}</a>
            </td>
            
            <~foreach from="$listFields" item="col" ~>

            <td>
                <a href="/<~$resourceName~>/show/{$<~$resourceName~>.<~$pk~>}">{$<~$resourceName~>.<~$col~>}</a>
            </td>
      
            <~/foreach~>
        </tr>
        {/foreach}
    </tbody>
</table>

